package com.joy.mapper;

import com.joy.model.CourseStudent;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface CourseStudentMapper {

    // 根据学生ID查询所有注册的课程
    List<CourseStudent> selectByStudentId(@Param("studentId") Long studentId);

}
